<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DropDownListModWatcher.aspx.cs" Inherits="ModWatcher_DropDownListModWatcher"
	Title="DropDownListModWatcher - ModWatch" %>

<asp:Content ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="PageContent" runat="server">

	<h2>CheckBoxModWatcherExtender Control</h2>

	<p>
		The DropDownListModWatcherExtender control tracks
		changes made to a DropDownList control.
	</p>

	<p>
		&lt;asp:DropDownList ID="ddlTest" runat="server">
		<br />
		&nbsp;&nbsp;&nbsp;
		&lt;asp:ListItem Value="1">Value 1&lt;/asp:ListItem>
		<br />
		&nbsp;&nbsp;&nbsp;
		&lt;asp:ListItem Value="2">Value 2&lt;/asp:ListItem>
		<br />
		&nbsp;&nbsp;&nbsp;
		&lt;asp:ListItem Value="3">Value 3&lt;/asp:ListItem>
		<br />
		&lt;/asp:DropDownList>
		<br />
		&lt;mw:DropDownListModWatcherExtender TargetControlID="ddlTest" runat="server" />
	</p>

	<p>
		<asp:DropDownList ID="ddlTest" runat="server">
			<asp:ListItem Value="1">Value 1</asp:ListItem>
			<asp:ListItem Value="2">Value 2</asp:ListItem>
			<asp:ListItem Value="3">Value 3</asp:ListItem>
		</asp:DropDownList>
		<mw:DropDownListModWatcherExtender TargetControlID="ddlTest" runat="server" />

		<br /><br />

		<asp:Button Text="Fire ModAlert" ID="btnTest" runat="server" />
		<mw:OnClickModAlertExtender TargetControlID="btnTest" runat="server"
			NotifyModMessage="Changes have been made, are you sure you want to continue?" />

		<asp:Button Text="Save Changes" OnClick="btnSave_Click" ID="btnSave" runat="server" />

		<br /><br />
		
		Page last served: <asp:Label ID="lblLastServed" runat="server"></asp:Label>
		<br />
		Change detected on server? <asp:Label ID="lblServerChange" runat="server"></asp:Label>
	</p>

</asp:Content>
